﻿using System;
using System.Collections.Generic;

using System.Text;
using imeem.api;

namespace imeem.services
{
    public class imeemException : Exception
    {
        private imeemResult _result;
        private string _method;
        private string _url;
        private string _queryString;

        public imeemResult IMEEMResult
        {
            get { return _result; }
        }

        public string IMEEMMethod
        {
            get { return _method; }
        }

        public string RequestUrl
        {
            get { return _url; }
        }

        public string QueryString
        {
            get { return _queryString;  }
        }

        public imeemException(imeemResult result, string method, string url, string queryString)
        {
            _result = result;
            _method = method;
            _url = url;
            _queryString = queryString;
        }
    }
}
